master switch wiring method